using System;
using System.Collections.Generic;

namespace ODSearchEngine
{
	public interface ISearchEngine
	{
		void Init();
		IEnumerable<SearchHit> Search(string key, string query);
		IEnumerable<SearchHit> Search(string [] keys, string query);
		IEnumerable<SearchHit> Search(IDictionary<string, string> queries);
		IDictionary<string, string> GetData(SearchHit hit);
		IDictionary<string, string> GetData(IEnumerable<SearchHit> hits);		
	}
}

